package com.magicmovie.mapper;

import com.magicmovie.entity.IndexMovie;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface IndexMovieMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(IndexMovie record);

    int insertSelective(IndexMovie record);

    IndexMovie selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(IndexMovie record);

    int updateByPrimaryKey(IndexMovie record);

    List<Map<String,Object>> selectByParams(Map<String, Object> params);
}